
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.WorkType;
import com.cmc.dao.WorkTypeDao;

public interface WorkTypeManager extends Manager {
    /**
     * Retrieves all of the workTypes
     */
    public List getWorkTypes(WorkType workType);

    /**
     * Gets workType's information based on id.
     * @param id the workType's id
     * @return workType populated workType object
     */
    public WorkType getWorkType(final String id);

    /**
     * Saves a workType's information
     * @param workType the object to be saved
     */
    public void saveWorkType(WorkType workType);

    /**
     * Removes a workType from the database by id
     * @param id the workType's id
     */
    public void removeWorkType(final String id);
}

